package com.fjec.paid.service;

import com.fjec.paid.entity.BizOrderPayment;
import com.baomidou.mybatisplus.extension.service.IService;

import java.text.ParseException;
import java.util.Map;

/**
 * <p>
 * 001.订单支付表 服务类
 * </p>
 *
 * @author admin
 * @since 2020-11-09
 */
public interface IBizOrderPaymentService extends IService<BizOrderPayment> {

    Map<String, Object> getPreparePayPackage(Long orderId);

    void payNotify(String notifyTime, String outTradeNo, String totalAmount, String tradeNo, String tradeStatus, String accountDate, Integer paymentType) throws ParseException;

    void setPaymentStatus(Long orderId, Integer paymentStatus);

    Map<String, Object> getPaymentByOrderId(Long orderId);
}
